//
// Created by 11793 on 2025/11/1.
//
#include <stdio.h>
//函数也可以返回数组
int * ary(){
   static int arr[3] = {10,20,30}; //加 static !!!
    return arr;
}
int main(){
    int * p = ary();
    for (int i = 0;i < 3;i++) {
        printf("%d ",p[i]);
    }
}